package com.jaws.demo.configuration;

import com.alibaba.druid.pool.DruidDataSource;
import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;

import javax.sql.DataSource;

/**
 * 配置类
 *
 * @author maojian
 * @date 2018-03-12 08:56:12
 * @since v1.0.0
 */
@ConfigurationProperties(prefix = ClientDemoConfigProperties.CLIENT_PREFIX)
@Data
public class ClientDemoConfigProperties {

	public static final String CLIENT_PREFIX = "jaws.client.demo";

	private String biz1;

	private String biz2;

	private int biz3;

	private String cacheNamspace;

	private Boolean cacheSwitchOn;

	/**
	 * namespace 中取值
	 */
	private String vvvtest;


}
